package com.cloudfun.msglisten;


import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableScheduling
@ServletComponentScan
@EnableDubbo(scanBasePackages  = "com.cloudfun.msglisten.service.impl")
@EnableConfigurationProperties
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class MsgListenApplication {

    public static void main(String[] args) {
        SpringApplication.run(MsgListenApplication.class, args);
    }

}
